Crate twilight_util[][src]

Expand description

twilight-util

discord badge github badge license badge rust badge

twilight-util is a set of utility types and functions for the twilight-rs ecosystem to augment or enhance default functionality.

Features

Provides implementations for parsing and formatting entities’ URLs, such as webhook URLs.

permission-calculator

Allows the use of a calculator to determine the permissions of a member in a guild or channel.

snowflake

Allows the use of the Snowflake trait, which provides methods for the extraction of structured information from Discord snowflakes.

Modules

linklink

Utilities for parsing and formatting links to various resources.

permission_calculatorpermission-calculator

Calculate the permissions of a member on a guild-level or a channel-level.

snowflakesnowflake

Provides the Snowflake trait for defining extractable information from a Discord Snowflake.